<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>js22事件循环机制测试</title>


    <script>

console.log("11111");
setTimeout(function(){

    console.log("定时器执行了");

}, 0);
console.log("xxxx");

    </script>
</head>

<body>

</body>

</html>